package com.taomu.app.zongchouhuli.moudle.mine.contract;

import android.widget.TextView;

import com.taomu.app.zongchouhuli.framework.BasePresenter;
import com.taomu.app.zongchouhuli.framework.BaseView;
import com.taomu.app.zongchouhuli.http.res.ResBankEntity;

public class UserBindBankContract {
    public interface Presenter extends BasePresenter {

        void isSmsCanClick(TextView tv1);

        void isNextCanClick(TextView tv1, TextView tv2, TextView tv3, TextView tv4, TextView tv5);

        void getSmsCode(String phone);

        void getBankInfo(int _id);

        void submit(String card_username, String card_phone, String card_num, String phone, String code);

        void changedbank(int id, String card_username, String card_phone, String card_num, String phone, String code);

        void detch();
    }

    public interface View extends BaseView<Presenter> {

        void setSmsCanClick(int textcolor, boolean enable);

        void setNextCanClick(int bgcolor, boolean enable);

        void setBackTime(String text, boolean ennable);

        void setBankInfo(ResBankEntity entity);

        void setChangedResults();

        void setSubmitResults();

        void setSendSmsSuccess(String msg);
    }
}
